TQASetInt
A drawing engine must define a method to set a long integer value for a draw context state variable.
typedef void (*TQASetInt) ( TQADrawContext *drawContext, TQATagInt tag, unsigned long newValue);
drawContext
- A draw context.
tag
- A state variable tag.
newValue
- The new value of the specified state variable.
DESCRIPTION
YourTQASetInt
function should set the value of the draw context state variable specified by thedrawContext
andtag
parameters to the long integer value specified by thenewValue
parameter.Your drawing engine must accept all possible values for the
tag
parameter. If you encounter a value in thetag
parameter that you cannot recognize, you should do nothing. Similarly, you should do nothing if thetag
parameter specifies a state variable for optional features your drawing engine does not support.SPECIAL CONSIDERATIONS
If yourTQASetInt
function needs to change one or more of the function pointers in the specified draw context, it must call theQARegisterDrawMethod
function to do so. It should not directly change the fields of a draw context.